<html xmlns="http://www.w3c.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
<h:head>
	<script type="text/javascript">
		//<![CDATA[
		//debe usarse los \\:  en lugar de : en los selectores de JQuery
		$(document).ready(function() {
			wizardSetCurrentPageStyle('form_wizard:ownershipLearningData');

		});
		//]]>
	</script>
</h:head>
<h:body>
	<h:form id="form_ownership_learning_data">
		<h2>
			<h:outputLabel value="#{i18n['lbl.owner.ownership_learning.title']}" />
		</h2>

		<div class="clearfix common-panel">
			<div class="ui-form-row-2col clearfix">
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<h:outputLabel
							value="#{i18n['lbl.owner.ownership_learning.question_1']}" />
					</div>
				</div>
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<p:selectOneButton required="true" value="#{aSession.survey.q1}">
							<f:selectItems value="#{surveyCmb.parameterDTO.options}" />
						</p:selectOneButton>
					</div>
				</div>
			</div>

			<div class="ui-form-row-2col clearfix">
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<h:outputLabel
							value="#{i18n['lbl.owner.ownership_learning.question_2']}" />
					</div>
				</div>
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<p:selectOneButton required="true" value="#{aSession.survey.q2}">
							<f:selectItems value="#{surveyCmb.parameterDTO.options}" />
						</p:selectOneButton>
					</div>
				</div>
			</div>


			<div class="ui-form-row-2col clearfix">
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<h:outputLabel
							value="#{i18n['lbl.owner.ownership_learning.question_3']}" />
					</div>
				</div>
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<p:selectOneButton required="true" value="#{aSession.survey.q3}">
							<f:selectItems value="#{surveyCmb.parameterDTO.options}" />
						</p:selectOneButton>
					</div>
				</div>
			</div>

			<div class="ui-form-row-2col clearfix">
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<h:outputLabel
							value="#{i18n['lbl.owner.ownership_learning.question_4']}" />
					</div>
				</div>
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<p:selectOneButton required="true" value="#{aSession.survey.q4}">
							<f:selectItems value="#{surveyCmb.parameterDTO.options}" />
						</p:selectOneButton>
					</div>
				</div>
			</div>

			<div class="ui-form-row-2col clearfix">
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<h:outputLabel
							value="#{i18n['lbl.owner.ownership_learning.question_5']}" />
					</div>
				</div>
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<p:selectOneButton required="true" value="#{aSession.survey.q5}">
							<f:selectItems value="#{surveyCmb.parameterDTO.options}" />
						</p:selectOneButton>
					</div>
				</div>
			</div>

			<div class="ui-form-row-2col clearfix">
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<h:outputLabel
							value="#{i18n['lbl.owner.ownership_learning.question_6']}" />
					</div>
				</div>
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<p:selectOneButton required="true" value="#{aSession.survey.q6}">
							<f:selectItems value="#{surveyCmb.parameterDTO.options}" />
						</p:selectOneButton>
					</div>
				</div>
			</div>

			<div class="ui-form-row-2col clearfix">
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<h:outputLabel
							value="#{i18n['lbl.owner.ownership_learning.question_7']}" />
					</div>
				</div>
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<p:selectOneButton required="true" value="#{aSession.survey.q7}">
							<f:selectItems value="#{surveyCmb.parameterDTO.options}" />
						</p:selectOneButton>
					</div>
				</div>
			</div>

			<div class="ui-form-row-2col clearfix">
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<h:outputLabel
							value="#{i18n['lbl.owner.ownership_learning.question_8']}" />
					</div>
				</div>
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<p:selectOneButton required="true" value="#{aSession.survey.q8}">
							<f:selectItems value="#{surveyCmb.parameterDTO.options}" />
						</p:selectOneButton>
					</div>
				</div>
			</div>

			<div class="ui-form-row-2col clearfix">
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<h:outputLabel
							value="#{i18n['lbl.owner.ownership_learning.question_9']}" />
					</div>
				</div>
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<p:selectOneButton required="true" value="#{aSession.survey.q9}">
							<f:selectItems value="#{surveyCmb.parameterDTO.options}" />
						</p:selectOneButton>
					</div>
				</div>
			</div>

			<div class="ui-form-row-2col clearfix">
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<h:outputLabel
							value="#{i18n['lbl.owner.ownership_learning.question_10']}" />
					</div>
				</div>
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<p:selectOneButton required="true" value="#{aSession.survey.q10}">
							<f:selectItems value="#{surveyCmb.parameterDTO.options}" />
						</p:selectOneButton>
					</div>
				</div>
			</div>

			<div class="ui-form-row-2col clearfix">
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<h:outputLabel
							value="#{i18n['lbl.owner.ownership_learning.question_11']}" />
					</div>
				</div>
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<p:selectOneButton required="true" value="#{aSession.survey.q11}">
							<f:selectItems value="#{surveyCmb.parameterDTO.options}" />
						</p:selectOneButton>
					</div>
				</div>
			</div>

			<div class="ui-form-row-2col clearfix">
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<h:outputLabel
							value="#{i18n['lbl.owner.ownership_learning.question_12']}" />
					</div>
				</div>
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<p:selectOneButton required="true" value="#{aSession.survey.q12}">
							<f:selectItems value="#{surveyCmb.parameterDTO.options}" />
						</p:selectOneButton>
					</div>
				</div>
			</div>

			<div class="ui-form-row-2col clearfix">
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<h:outputLabel
							value="#{i18n['lbl.owner.ownership_learning.question_13']}" />
					</div>
				</div>
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<p:selectOneButton required="true" value="#{aSession.survey.q13}">
							<f:selectItems value="#{surveyCmb.parameterDTO.options}" />
						</p:selectOneButton>
					</div>
				</div>
			</div>

			<div class="ui-form-row-2col clearfix">
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<h:outputLabel
							value="#{i18n['lbl.owner.ownership_learning.question_14']}" />
					</div>
				</div>
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<p:selectOneButton required="true" value="#{aSession.survey.q14}">
							<f:selectItems value="#{surveyCmb.parameterDTO.options}" />
						</p:selectOneButton>
					</div>
				</div>
			</div>


			<div class="ui-form-row-2col clearfix">
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<h:outputLabel
							value="#{i18n['lbl.owner.ownership_learning.question_15']}" />
					</div>
				</div>
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<p:selectOneButton required="true" value="#{aSession.survey.q15}">
							<f:selectItems value="#{surveyCmb.parameterDTO.options}" />
						</p:selectOneButton>
					</div>
				</div>
			</div>

			<div class="ui-form-row-2col clearfix">
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<h:outputLabel
							value="#{i18n['lbl.owner.ownership_learning.question_16']}" />
					</div>
				</div>
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<p:selectOneButton required="true" value="#{aSession.survey.q16}">
							<f:selectItems value="#{surveyCmb.parameterDTO.options}" />
						</p:selectOneButton>
					</div>
				</div>
			</div>
		</div>
		<div class="buttons-container clearfix text-align-right">
			<p:commandButton value="#{i18n['lbl.flow_button.cancel']}"
				styleClass="ui-flowbutton"
				oncomplete="currentPage('list_owner_data.xhtml')"
				actionListener="#{stepByStepController.cancelRuatRegister}" />
			<p:commandButton value="#{i18n['lbl.flow_button.back']}"
				oncomplete="setCurrentPageStyle(xhr, status, args,this)"
				styleClass="ui-flowbutton" update="form_ownership_learning_data"
				actionListener="#{stepByStepController.viewForestBusinessData}" />
			<p:commandButton value="#{i18n['lbl.flow_button.save_and_next']}"
				oncomplete="setCurrentPageStyle(xhr, status, args,this)"
				styleClass="ui-flowbutton" validateClient="true"
				update="form_ownership_learning_data"
				actionListener="#{stepByStepController.viewConfirmationData}"
				id="savenext" />
		</div>
		<p:blockUI block="savenext" trigger="savenext" />
	</h:form>
</h:body>

</html>